9.8
CRITICAL CVSS 3.1
CVE-2021-28967
"Visual Studio Code MATLAB Extension Code Injection Vulnerability"
Description

The unofficial MATLAB extension before 2.0.1 for Visual Studio Code allows attackers to execute arbitrary code via a crafted workspace because of lint configuration settings.

INFO

Published Date :

March 24, 2021, 7:15 a.m.

Last Modified :

July 8, 2025, 6:03 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2021-28967 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Microsoft visual_studio_code
1 Gimly matlab
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 HIGH [email protected]
CVSS 3.1 CRITICAL [email protected]
Solution
This information is provided by the 3rd party feeds.
  • Update the Microsoft Visual Studio Code MATLAB extension to version 2.0.1 or later.
References to Advisories, Solutions, and Tools
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-28967 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2021-28967 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-28967 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-28967 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Modified Analysis by [email protected]

    Jul. 08, 2025

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:microsoft:visual_studio_code:*:*:*:*:*:matlab:*:* versions up to (excluding) 2.0.1 OR *cpe:2.3:a:gimly:matlab:*:*:*:*:*:visual_studio_code:*:* versions up to (excluding) 2.0.1
    Changed Reference Type CVE: https://github.com/Gimly/vscode-matlab/commit/fc5dc53397677464099e80629e785a25718bf5ec Types: Patch, Third Party Advisory CVE: https://github.com/Gimly/vscode-matlab/commit/fc5dc53397677464099e80629e785a25718bf5ec Types: Patch
    Changed Reference Type MITRE: https://github.com/Gimly/vscode-matlab/commit/fc5dc53397677464099e80629e785a25718bf5ec Types: Patch, Third Party Advisory MITRE: https://github.com/Gimly/vscode-matlab/commit/fc5dc53397677464099e80629e785a25718bf5ec Types: Patch
    Changed Reference Type CVE: https://github.com/Gimly/vscode-matlab/releases Types: Release Notes, Third Party Advisory CVE: https://github.com/Gimly/vscode-matlab/releases Types: Release Notes
    Changed Reference Type MITRE: https://github.com/Gimly/vscode-matlab/releases Types: Release Notes, Third Party Advisory MITRE: https://github.com/Gimly/vscode-matlab/releases Types: Release Notes
    Changed Reference Type CVE: https://marketplace.visualstudio.com/items/Gimly81.matlab/changelog Types: Release Notes, Vendor Advisory CVE: https://marketplace.visualstudio.com/items/Gimly81.matlab/changelog Types: Product, Release Notes
    Changed Reference Type MITRE: https://marketplace.visualstudio.com/items/Gimly81.matlab/changelog Types: Release Notes, Vendor Advisory MITRE: https://marketplace.visualstudio.com/items/Gimly81.matlab/changelog Types: Product, Release Notes
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://github.com/Gimly/vscode-matlab/commit/fc5dc53397677464099e80629e785a25718bf5ec
    Added Reference https://github.com/Gimly/vscode-matlab/releases
    Added Reference https://marketplace.visualstudio.com/items/Gimly81.matlab/changelog
    Added Reference https://vuln.ryotak.me/advisories/2
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Modified Analysis by [email protected]

    May. 20, 2022

    Action Type Old Value New Value
    Changed Reference Type https://vuln.ryotak.me/advisories/2 No Types Assigned https://vuln.ryotak.me/advisories/2 Third Party Advisory
  • CVE Modified by [email protected]

    Apr. 05, 2021

    Action Type Old Value New Value
    Removed Reference https://vuln.ryotak.me/advisories/2.txt [Third Party Advisory]
    Added Reference https://vuln.ryotak.me/advisories/2 [No Types Assigned]
  • Initial Analysis by [email protected]

    Mar. 26, 2021

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:P/I:P/A:P)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://github.com/Gimly/vscode-matlab/commit/fc5dc53397677464099e80629e785a25718bf5ec No Types Assigned https://github.com/Gimly/vscode-matlab/commit/fc5dc53397677464099e80629e785a25718bf5ec Patch, Third Party Advisory
    Changed Reference Type https://github.com/Gimly/vscode-matlab/releases No Types Assigned https://github.com/Gimly/vscode-matlab/releases Release Notes, Third Party Advisory
    Changed Reference Type https://marketplace.visualstudio.com/items/Gimly81.matlab/changelog No Types Assigned https://marketplace.visualstudio.com/items/Gimly81.matlab/changelog Release Notes, Vendor Advisory
    Changed Reference Type https://vuln.ryotak.me/advisories/2.txt No Types Assigned https://vuln.ryotak.me/advisories/2.txt Third Party Advisory
    Added CWE NIST NVD-CWE-noinfo
    Added CPE Configuration OR *cpe:2.3:a:microsoft:visual_studio_code:*:*:*:*:*:matlab:*:* versions up to (excluding) 2.0.1
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 9.8
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 7.5
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.56 }} -12.43%

score

0.67290

percentile